package net.realsee.service.wcs.warehouse;

import com.baomidou.mybatisplus.extension.service.IService;
import net.realsee.domain.wcs.warehouse.WcsContainerType;
import net.realsee.domain.wcs.warehouse.bo.WcsContainerTypeBo;
import net.realsee.domain.wcs.warehouse.vo.WcsContainerTypeVo;
import net.realsee.framework.core.domain.PageQuery;
import net.realsee.framework.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 容器类型Service接口
 *
 * @author realsee
 * @date 2023-08-11
 */
public interface IWcsContainerTypeService extends IService<WcsContainerType> {

    /**
     * 查询容器类型
     */
    WcsContainerTypeVo selectVoById(Long id);

    /**
     * 查询容器类型列表
     */
    TableDataInfo<WcsContainerTypeVo> selectVoPage(WcsContainerTypeBo bo, PageQuery pageQuery);

    /**
     * 查询容器类型列表
     */
    List<WcsContainerTypeVo> selectVoList(WcsContainerTypeBo bo);

    /**
     * 新增容器类型
     */
    Boolean insertByBo(WcsContainerTypeBo bo);

    /**
     * 修改容器类型
     */
    Boolean updateByBo(WcsContainerTypeBo bo);

    /**
     * 校验并批量删除容器类型信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
